package org.example.service;

import org.apache.catalina.User;
import org.example.domain.SysUser;
import org.example.vo.SysUserVo;

import java.util.List;

public interface SysUserService {
    /**
     * 用户名密码
     * @param userName
     * @return
     */
    SysUser getOne(String userName);


    List<SysUser> list(SysUserVo sysUserVo);

    List<SysUser> listUserMenu();

    boolean saveUser(SysUser sysUser);

    boolean updateUser(SysUser sysUser);

    SysUser selectUserById(Long userId);

    List<Long> rolesById(Long userId);

    boolean delAll(List<Long> userId);

    List<SysUser> listExcel();

    List<Long> postById(Long userId);

    boolean updateUsers(List<Long> userId);
}
